package com.kwshare.system;

import com.kwshare.common.core.constant.PackageNameConstants;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 系统服务启动程序
 *
 * @author yangjing
 */
@MapperScan("com.kwshare.system.mapper")
@SpringBootApplication
@EnableFeignClients(basePackages = PackageNameConstants.KWSHARE_PACKAGE)
public class KwShareSystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(KwShareSystemApplication.class,args);
        System.err.println("                `(*∩_∩*)′ 系统服务启动成功 `(*∩_∩*)′               \n"+
                            "  ______  ____  ____   ______   _________  ________  ____    ____  \n" +
                            ".' ____ \\|_  _||_  _|.' ____ \\ |  _   _  ||_   __  ||_   \\  /   _| \n" +
                            "| (___ \\_| \\ \\  / /  | (___ \\_||_/ | | \\_|  | |_ \\_|  |   \\/   |   \n" +
                            " _.____`.   \\ \\/ /    _.____`.     | |      |  _| _   | |\\  /| |   \n" +
                            "| \\____) |  _|  |_   | \\____) |   _| |_    _| |__/ | _| |_\\/_| |_  \n" +
                            " \\______.' |______|   \\______.'  |_____|  |________||_____||_____| \n");
    }
}
